package com.fudan.cfg.trans;

import java.util.Map;

import com.fudan.cfg.base.TransDef;

public class TestNode extends TransDef{

	private String target;

	public TestNode(String name, String type,String target) {
		super(name, type,target);
	}

	@Override
	public TransDef build(Map<String, Object> configuration) {
		this.setTarget((String) configuration.get("target"));
		return this;
	}

	public String getTarget() {
		return target;
	}

	public void setTarget(String target) {
		this.target = target;
	}

}
